module.exports = {

    userFormateError: {
        code: '10001',
        message: '用户名或密码为空',
        result: ''
    },
    userAlreadyExited: {
        code: '10002',
        message: '用户名已经存在',
        result: ''
    },
    userRegister: {
        code: '10003',
        message: '用户注册出现错误',
        result: ''
    },
    userNotExist: {
        code: '10004',
        message: '用户不存在',
        result: ''
    },
    userLoginError: {
        code: '10005',
        message: '用户密码错误',
        result: ''
    },
    invalidPassword: {
        code: '10006',
        message: '密码不匹配',
        result: ''
    },
    tokenExpireError: {
        code: '10101',
        message: 'token已过期',
        result: ''
    },
    invlidToken: {
        code: '10102',
        message: '无效的token',
        result: ''
    },
    handNotAdminPermission: {
        code: '10103',
        message: '没有管理员权限',
        result: ''
    },
    fileuploadError: {
        code: '10201',
        message: '商品图片上传失败',
        result: ''
    },
    fileTypeError: {
        code: '10202',
        message: '文件不支持此类型',
        result: ''
    },
    goodsParams: {
        code: '10203',
        message: '商品参数格式类型错误',
        result: ''
    },
    publishGoodsError: {
        code: '10204',
        message: '发布商品出错',
        result: ''
    },
    updateGoodsError: {
        code: '10205',
        message: '更新商品失败',
        result: ''
    },
    invalidGoodsID: {
        code: '10206',
        message: '无效的商品ID',
        result: ''
    }
}